package com.ryskoo.common.dto.stock;

import com.ryskoo.common.dto.BasicDTO;
/**
 * 库存DTO
 * 
 * @author qyc
 *
 */
public class StockDTO extends BasicDTO{

	private static final long serialVersionUID = 6667177558368730224L;

	/* 商品uuid */
	private String productUuid;
	
	/* 商户uuid */
	private String vendorUuid;
	
	/* 库存uuid */
	private String warehouseUuid ;

	/* 商品sku */
	private String productSku;
	
	/* 商品sku条形码 */
	private String productBarcode;
 
	/* 是否默认规格 */
	private boolean defaultAttr = false;
	
	/* 上下架 */
	private boolean state = false;
	
	/* 总库存 */
	private int totalStock ;

	/* 多个规格的属性值uuid用"-"拼接，用于商品详情页选择规格的搜索 */
	private String specValueUuids ;
	
	/* 锁定库存 */
	private int lockStock ;
	
	/* 可用库存 */
	private int saleStock ;
	
	/* 库存预警 */
	private int warnStock ;

	/* 规格属性拼接JSON */
	private String attrJson ;
	
	/* 默认销售价*/
	private double salesPrice;
	
	/* 商品名称*/
	private String productName;
	
	/* 商品编号*/
	private String productNo;
	
	/* 商品最小图*/
	private String productTinyImg;
	
	/* 仓库名称*/
	private String warehouseName;
	
	/* 库存类型 0正常库存 1,促销库存*/
	private String type;
	
	/* 促销活动uuid*/
	private String promotionUuid;
	
	

	public String getProductNo() {
		return productNo;
	}

	public void setProductNo(String productNo) {
		this.productNo = productNo;
	}

	public double getSalesPrice() {
		return salesPrice;
	}

	public void setSalesPrice(double salesPrice) {
		this.salesPrice = salesPrice;
	}

	public String getSpecValueUuids() {
		return specValueUuids;
	}

	public void setSpecValueUuids(String specValueUuids) {
		this.specValueUuids = specValueUuids;
	}

	public boolean isState() {
		return state;
	}

	public void setState(boolean state) {
		this.state = state;
	}

	public String getProductBarcode() {
		return productBarcode;
	}

	public void setProductBarcode(String productBarcode) {
		this.productBarcode = productBarcode;
	}

	public String getProductUuid() {
		return productUuid;
	}

	public void setProductUuid(String productUuid) {
		this.productUuid = productUuid;
	}

	public String getProductSku() {
		return productSku;
	}

	public void setProductSku(String productSku) {
		this.productSku = productSku;
	}

	public boolean isDefaultAttr() {
		return defaultAttr;
	}

	public void setDefaultAttr(boolean defaultAttr) {
		this.defaultAttr = defaultAttr;
	}

	public int getTotalStock() {
		return totalStock;
	}

	public void setTotalStock(int totalStock) {
		this.totalStock = totalStock;
	}

	public int getLockStock() {
		return lockStock;
	}

	public void setLockStock(int lockStock) {
		this.lockStock = lockStock;
	}

	public int getSaleStock() {
		return saleStock;
	}

	public void setSaleStock(int saleStock) {
		this.saleStock = saleStock;
	}

	public int getWarnStock() {
		return warnStock;
	}

	public void setWarnStock(int warnStock) {
		this.warnStock = warnStock;
	}

	public String getAttrJson() {
		return attrJson;
	}

	public void setAttrJson(String attrJson) {
		this.attrJson = attrJson;
	}

	public String getVendorUuid() {
		return vendorUuid;
	}

	public void setVendorUuid(String vendorUuid) {
		this.vendorUuid = vendorUuid;
	}

	public String getWarehouseUuid() {
		return warehouseUuid;
	}

	public void setWarehouseUuid(String warehouseUuid) {
		this.warehouseUuid = warehouseUuid;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductTinyImg() {
		return productTinyImg;
	}

	public void setProductTinyImg(String productTinyImg) {
		this.productTinyImg = productTinyImg;
	}

	public String getWarehouseName() {
		return warehouseName;
	}

	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPromotionUuid() {
		return promotionUuid;
	}

	public void setPromotionUuid(String promotionUuid) {
		this.promotionUuid = promotionUuid;
	}


}
